export default function({ $axios }) {
  $axios.onError(error => {
    nuxtError({
      statusCode: error.response.status,
      message: error.message
    });
    return Promise.resolve(false);
  });
  $axios.onRequest(config => {
    $axios.setToken("1234567890", "Bearer");
  });
}
